package models

func CreateNewEmp(emp * EmployeeInfo)error  {
	_,err:=createNewEmpQuery.Exec(emp.Name,emp.Status,emp.ArriveDate,emp.Job,emp.Position,emp.DepartmentID)
	return err
}

func CreateNewDep(dep * DepartmentInfo)error  {
	_,err:=createNewDepQuery.Exec(dep.Name)
	return err
}